package com.jyw.business.obstacles.enums;

/**
 * @author 沈峻
 * @ClassName WebSocketCodeEnum
 * @Description TODO
 * @Date 2023/8/21 16:40
 **/
public enum WebSocketCodeEnum {
    SEAT_CURRENT(10, "当前座席"),
    NOT_RELATION(10, "没有关联手机号"),
    SEAT_INFO_SUCCESS(11, "座席变更"),
    FAULT_INFO_SOCKET(12, "推送消息"),
    ANSWER(13, "摘机"),
    HANG_UP(14, "挂断"),
    HEART_BEAT(15, "心跳"),
    SUBSCRIBE(16, "订阅座席"),
    CALL_DIVERT(17,"呼叫转移变更"),
    SERVICE_MESSAGE(19,"推送服务台消息");

    /**
     * 编码
     */
    private int code;
    /**
     * 消息
     */
    private String msg;


    WebSocketCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
